package com.genius.model;

import java.io.Serializable;
import java.util.Date;

import com.genius.util.DateUtil;

/**
 * 
 * Student Model
 * 
 * @author Manish R [manish_rathi2001@yahoo.com]
 * @version 1.0
 */
public class Student implements Serializable{
	
	/**
     * 
     */
    private static final long serialVersionUID = -3281520999583598029L;
    
    private String id;
	private String firstName;
	private String lastName;
	private String fathersName;
	private String contactNum1;
	private String contactNum2;
	private String contactNum3;
	private String addressLine1;
	private String addressLine2;
	private String city;
	private String state;
	private Date dob;
    private Date dateOfAddmission;
    private String schoolName;
	private boolean activeFlag;
    private int currentLevelId = 0;
    
    
    
	/**
	 * @return this.Returns the addressLine1.
	 */
	public String getAddressLine1() {
		return this.addressLine1;
	}
	/**
	 * @param addressLine1 The addressLine1 to set.
	 */
	public void setAddressLine1(String addressLine1) {
		this.addressLine1 = addressLine1;
	}
	/**
	 * @return this.Returns the addressLine2.
	 */
	public String getAddressLine2() {
		return this.addressLine2;
	}
	/**
	 * @param addressLine2 The addressLine2 to set.
	 */
	public void setAddressLine2(String addressLine2) {
		this.addressLine2 = addressLine2;
	}
	/**
	 * @return this.Returns the city.
	 */
	public String getCity() {
		return this.city;
	}
	/**
	 * @param city The city to set.
	 */
	public void setCity(String city) {
		this.city = city;
	}
	/**
	 * @return this.Returns the contactNum1.
	 */
	public String getContactNum1() {
		return this.contactNum1;
	}
	/**
	 * @param contactNum1 The contactNum1 to set.
	 */
	public void setContactNum1(String contactNum1) {
		this.contactNum1 = contactNum1;
	}
	/**
	 * @return this.Returns the contactNum2.
	 */
	public String getContactNum2() {
		return this.contactNum2;
	}
	/**
	 * @param contactNum2 The contactNum2 to set.
	 */
	public void setContactNum2(String contactNum2) {
		this.contactNum2 = contactNum2;
	}
	/**
	 * @return this.Returns the contactNum3.
	 */
	public String getContactNum3() {
		return this.contactNum3;
	}
	/**
	 * @param contactNum3 The contactNum3 to set.
	 */
	public void setContactNum3(String contactNum3) {
		this.contactNum3 = contactNum3;
	}
	/**
	 * @return this.Returns the dob.
	 */
	public Date getDob() {
		return this.dob;
	}
	/**
	 * @param dob The dob to set.
	 */
	public void setDob(Date dob) {
		this.dob = dob;
	}
	/**
	 * @return this.Returns the fathersName.
	 */
	public String getFathersName() {
		return this.fathersName;
	}
	/**
	 * @param fathersName The fathersName to set.
	 */
	public void setFathersName(String fathersName) {
		this.fathersName = fathersName;
	}
	/**
	 * @return this.Returns the firstName.
	 */
	public String getFirstName() {
		return this.firstName;
	}
	/**
	 * @param firstName The firstName to set.
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	/**
	 * @return this.Returns the id.
	 */
	public String getId() {
		return this.id;
	}
	/**
	 * @param id The id to set.
	 */
	public void setId(String id) {
		this.id = id;
	}
	
	/**
	 * @return this.Returns the lastName.
	 */
	public String getLastName() {
		return this.lastName;
	}
	/**
	 * @param lastName The lastName to set.
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	/**
	 * @return this.Returns the state.
	 */
	public String getState() {
		return this.state;
	}
	/**
	 * @param state The state to set.
	 */
	public void setState(String state) {
		this.state = state;
	}
	/**
	 * @return this.Returns the activeFlag.
	 */
	public boolean isActiveFlag() {
		return this.activeFlag;
	}
	
	/**
	 * @param activeFlag The activeFlag to set.
	 */
	public void setActiveFlag(boolean activeFlag) {
		this.activeFlag = activeFlag;
	}
    /**
     * @return this.Returns the dateOfAddmission.
     */
    public Date getDateOfAddmission()
    {
        return this.dateOfAddmission;
    }
    
    /**
     * @param dateOfAddmission The dateOfAddmission to set.
     */
    public void setDateOfAddmission(Date dateOfAddmission)
    {
        this.dateOfAddmission = dateOfAddmission;
    }
    
    /**
     * @return this.Returns the dateOfAddmission.
     */
    public String getDateOfAddmissionStr()
    {
        return DateUtil.dateToString(dateOfAddmission);
    }
    
    /**
     * @param dateOfAddmission The dateOfAddmission to set.
     */
    public void setDateOfAddmissionStr(String value)
    {
        this.dateOfAddmission = DateUtil.stringToDate(value);
    }

    /**
     * @return this.Returns the dateOfAddmission.
     */
    public String getDobStr()
    {
        return DateUtil.dateToString(this.dob);
    }
    
    /**
     * 
     * @param value
     */
    public void setDobStr(String value)
    {
        this.dob = DateUtil.stringToDate(value);
    }

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	public String getSchoolName() {
		return this.schoolName;
	}

    /**
     * @return this.Returns the currentLevelId.
     */
    public int getCurrentLevelId()
    {
        return this.currentLevelId;
    }
    /**
     * @param currentLevelId The currentLevelId to set.
     */
    public void setCurrentLevelId(int currentLevelId)
    {
        this.currentLevelId = currentLevelId;
    }
    
	
}
